package com.platform.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.platform.dao.UrlHtmlConfigDao;
import com.platform.entity.UrlHtmlConfigEntity;
import com.platform.service.UrlHtmlConfigService;

/**
 * h5url地址配置Service实现类
 *
 * @author lipengjun
 * @email 939961241@qq.com
 * @date 2019-03-10 10:36:54
 */
@Service("tUrlHtmlConfigService")
public class UrlHtmlConfigServiceImpl implements UrlHtmlConfigService {
    @Autowired
    private UrlHtmlConfigDao urlHtmlConfigDao;

    @Override
    public UrlHtmlConfigEntity queryObject(Integer id) {
        return urlHtmlConfigDao.queryObject(id);
    }

    @Override
    public List<UrlHtmlConfigEntity> queryList(Map<String, Object> map) {
        return urlHtmlConfigDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return urlHtmlConfigDao.queryTotal(map);
    }

    @Override
    public int save(UrlHtmlConfigEntity tUrlHtmlConfig) {
        return urlHtmlConfigDao.save(tUrlHtmlConfig);
    }

    @Override
    public int update(UrlHtmlConfigEntity tUrlHtmlConfig) {
        return urlHtmlConfigDao.update(tUrlHtmlConfig);
    }

    @Override
    public int delete(Integer id) {
        return urlHtmlConfigDao.delete(id);
    }

    @Override
    public int deleteBatch(Integer[] ids) {
        return urlHtmlConfigDao.deleteBatch(ids);
    }
}
